package com.happy.cat.project.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.happy.cat.framework.aspectj.lang.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;


/**
 * 用户违规对象 user_violation
 * 
 * @author verne
 * @date 2020-08-13
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName(autoResultMap = true )
@ApiModel(value="用户违规对象", description="用户违规对象数据")
public class UserViolation implements Serializable {

private static final long serialVersionUID=1L;


    /** id */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long userId;

    /** 
违规时间 */
    @ApiModelProperty(value = "${comment}")
    private Date createTime;

    /** 违规原因 */
    @Excel(name = "违规原因")
    @ApiModelProperty(value = "违规原因")
    private String reason;

    /** 处理方式 */
    @Excel(name = "处理方式")
    @ApiModelProperty(value = "处理方式")
    private String dealType;
}
